package com.zcckj.demo.app.common.order;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 *
 * <p>
 *  TODO 类作用描述
 * </p>
 *
 * @author zhangjie
 * @since 2019-08-28
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class OrderDTO {
    private Long userId;
    private Long productId;
    private Integer payAmount;
    private OrderStatus status;

    public enum OrderStatus {
        /**
         * INIT
         */
        INIT,
        /**
         * SUCCESS
         */
        SUCCESS,
        /**
         * FAIL
         */
        FAIL
    }
}

